.class Lcom/brixd/niceapp/community/PortalFragment$1;
.super Ljava/lang/Object;
.source "PortalFragment.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/community/PortalFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/PortalFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/PortalFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/PortalFragment;

    .prologue
    .line 80
    iput-object p1, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onScroll(Landroid/widget/AbsListView;III)V
    .registers 11
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "firstVisibleItem"    # I
    .param p3, "visibleItemCount"    # I
    .param p4, "totalItemCount"    # I

    .prologue
    const/16 v5, 0x8

    const/4 v4, 0x0

    .line 88
    if-nez p4, :cond_6

    .line 109
    :cond_5
    :goto_5
    return-void

    .line 91
    :cond_6
    if-nez p2, :cond_61

    .line 92
    invoke-virtual {p1, v4}, Landroid/widget/AbsListView;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getTop()I

    move-result v2

    .line 93
    .local v2, "top":I
    int-to-float v3, v2

    const/high16 v4, 0x41a00000

    div-float v0, v3, v4

    .line 94
    .local v0, "line1TranY":F
    int-to-float v3, v2

    const/high16 v4, 0x40000000

    div-float v1, v3, v4

    .line 96
    .local v1, "line2TranY":F
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mLine1Box:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$000(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v0}, Landroid/view/View;->setTranslationY(F)V

    .line 97
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mLine2Box:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$100(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v1}, Landroid/view/View;->setTranslationY(F)V

    .line 98
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mDummyLine1Box:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$200(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    neg-int v4, v2

    int-to-float v4, v4

    invoke-virtual {v3, v4}, Landroid/view/View;->setTranslationY(F)V

    .line 99
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mDummyLine2Box:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$300(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    neg-int v4, v2

    int-to-float v4, v4

    add-float/2addr v4, v1

    invoke-virtual {v3, v4}, Landroid/view/View;->setTranslationY(F)V

    .line 101
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mShadowHeaderView:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$400(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    if-eqz v3, :cond_5

    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mShadowHeaderView:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$400(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getVisibility()I

    move-result v3

    if-eq v3, v5, :cond_5

    .line 102
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mShadowHeaderView:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$400(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v5}, Landroid/view/View;->setVisibility(I)V

    goto :goto_5

    .line 104
    .end local v0    # "line1TranY":F
    .end local v1    # "line2TranY":F
    .end local v2    # "top":I
    :cond_61
    const/4 v3, 0x1

    if-lt p2, v3, :cond_5

    const/4 v3, 0x3

    if-gt p2, v3, :cond_5

    .line 105
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mShadowHeaderView:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$400(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getVisibility()I

    move-result v3

    if-eqz v3, :cond_5

    .line 106
    iget-object v3, p0, Lcom/brixd/niceapp/community/PortalFragment$1;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mShadowHeaderView:Landroid/view/View;
    invoke-static {v3}, Lcom/brixd/niceapp/community/PortalFragment;->access$400(Lcom/brixd/niceapp/community/PortalFragment;)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V

    goto :goto_5
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .registers 3
    .param p1, "view"    # Landroid/widget/AbsListView;
    .param p2, "scrollState"    # I

    .prologue
    .line 84
    return-void
.end method
